/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2023-04-25     Administrator       the first version
 */
#ifndef APPLICATIONS_DEV_TIME_H_
#define APPLICATIONS_DEV_TIME_H_

#include "stdint.h"

void sync_time_by_ntp(void);
void set_dev_time(uint16_t year, uint8_t month, uint8_t day,uint16_t hour, uint8_t min, uint8_t sec);
void rtc_time_init(void);
void sync_time_by_location(char* time_str);


#endif /* APPLICATIONS_DEV_TIME_H_ */
